package com.enjoyor.soa.traffic.rest.efoms.dubbo.impl;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboDateMonitorService;
import com.enjoyor.soa.traffic.rest.efoms.dubbo.IDateMonitorConsumeService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Component
public class DateMonitorConsumeService implements IDateMonitorConsumeService{

	@Reference(version = "1.0.0", timeout = 10000)
	private IDubboDateMonitorService dubboDateMonitorService;
	@Override
	public ResultPojo getDateMonitorChar(String typeCode, String devId) {
		// TODO Auto-generated method stub
		return dubboDateMonitorService.getDateMonitorChar(typeCode, devId);
	}

	@Override
	public ResultPojo getDateMonitorReal(String typeCode, String devId) {
		// TODO Auto-generated method stub
		return dubboDateMonitorService.getDateMonitorReal(typeCode, devId);
	}

	
	
}
